import request from "@/utils/request";
// 获取全部
export const getRegistration = (RegistrationRequestData) => {
  return request.request({
    url: `/admin/registration/pages`,
    method: "POST",
    data:RegistrationRequestData,
  });
}

// 删除
export const deleteRegistration = (RegistrationRequestData) => {
  return request.request({
    url: `/admin/registration/delete`,
    method: "get",
    data:RegistrationRequestData,
  });
}

//更新
export const updateRegistration = (RegistrationRequestData) => {
  return request.request({
    url: `/admin/registration/update`,
    data:RegistrationRequestData,
    method: "post",
  });
}


//添加
export const addRegistration = (RegistrationRequestData) => {
  return request.request({
    url: `/admin/registration/add`,
    data:RegistrationRequestData,
    method: "post",
  });
}